import request from '@/router/axios';

export const getPayList = (page, size, params) => {
    return request({
        url: '/account/withDrawRecord/listUsedAdmin',
        method: 'post',
        params: {
            ...params,
            page,
            size,
        }
    })
}


export const getWithDrawRecordDetail = id => {
    return request({
        url: '/account/withDrawRecord/detail',
        method: "post",
        meta: {
            isSerialize: true,
        },
        data: {
            id
        }
    });
};

//用户提交打款操作
export const withDrawCarryOut = (id,payStatus,payRemark) => {
    return request({
        url: '/account/withDrawRecord/withDrawCarryOut',
        method: "post",
        meta: {
            isSerialize: true,
        },
        data: {
            id,
            payStatus,
            payRemark
        }
    });
};





